/*
* Copyright (C) 2012-2014 qar
* License: http://www.gnu.org/licenses/gpl.html GPL version 2
*/

#ifndef EXTRACT_H
#define EXTRACT_H

#include <QtCore>

// Extracts an archive to the current directory.
// A directory with the same name as the archive (except the .qar extension)
// is created and populated with the archive contents.
// If the directory exists, aborts.
void extract(QString archiveName, QString decryptionKeyFile);

#endif // EXTRACT_H
